home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
gui
/
gtldv374.lha
/
GadUtil
/
Docs
/
AutoDocs
/
30.GU_CreateContext
< prev
next >
Wrap
Text File
|
1996-05-14
|
1KB
|
40 lines
gadutil.library/GU_CreateContext gadutil.library/GU_CreateContext
NAME
GU_CreateContext -- Create a space for GadTools context data.
SYNOPSIS
gad = GU_CreateContext(glistptr)
D0 A0
struct Gadget *GU_CreateContext(struct Gadget **);
FUNCTION
This function is a replacement for the GadTools version. Use this
instead. This will make your program to take advantage of future
enhancements of gadutil.
Creates a place for GadTools to store any context data it might
need for your window. In reality, an unselectable invisible
gadget is created, with room for the context data.
This function also establishes the linkage from a glist type
pointer to the individual gadget pointers. Call this function
before any of the other gadget creation calls.
INPUTS
glistptr - Address of a pointer to a Gadget, which was previously
set to NULL. When all the gadget creation is done, you may
use that pointer as your NewWindow.FirstGadget, or
in intuition.library/AddGList(),
intuition.library/RefreshGList(), FreeGadgets(), etc.
RESULT
gad - pointer to context gadget, or NULL if failure.
NOTES
Look in gadtools/CreateContext() for more information.
SEE ALSO
gadtools/CreateContext()